package com.powerbank.device;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 设备通信服务启动类
 */
@SpringBootApplication(scanBasePackages = {"com.powerbank"})
@EnableScheduling
@EnableAsync
public class PowerbankDeviceServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(PowerbankDeviceServiceApplication.class, args);
    }
}